package com.kinghunt.misp.service.api.userx;

import com.kinghunt.misp.common.dto.userx.UserDTO;
import com.bygoodtech.kings.common.dto.ApiResult;

import javax.servlet.http.HttpServletRequest;

/**
 * 系统自动登录服务
 */
public interface AutoLoginService {

    /**
     * 根据IP地址登录
     *
     * @param request
     * @return
     */
    ApiResult<UserDTO> loginByIp(HttpServletRequest request);
}
